/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pooproj.basica;

/**
 *
 * @author Daniella
 */
public class LocMidia {
    
    private Locacao locacao = new Locacao();
    private Midia midia = new Midia();
    private int qtdMidiaLoc;
    private double valorMidiaLoc;
    
    
    public LocMidia(){
        
    }
    
    /**
     *
     * @param codLoc
     * @param codMidia
     * @param qtdMidiaLoc
     * @param valorMidiaLoc
     */
    public LocMidia(int codLoc, int codMidia, int qtdMidiaLoc, double valorMidiaLoc){
        this.getLocacao().setCodLoc(codLoc);
        this.getMidia().setCodMidia(codMidia);
        this.setQtdMidiaLoc(qtdMidiaLoc);
        this.setValorMidiaLoc(valorMidiaLoc);
    }

    /**
     * @return the Locacao
     */
    public Locacao getLocacao() {
        return locacao;
    }

    /**
     * @param Locacao the Locacao to set
     */
    public void setLocacao(Locacao locacao) {
        this.locacao = locacao;
    }

    /**
     * @return the Midia
     */
    public Midia getMidia() {
        return midia;
    }

    /**
     * @param Midia the Midia to set
     */
    public void setMidia(Midia midia) {
        this.midia = midia;
    }

    /**
     * @return the qtdMidiaLoc
     */
    public int getQtdMidiaLoc() {
        return qtdMidiaLoc;
    }

    /**
     * @param qtdMidiaLoc the qtdMidiaLoc to set
     */
    public void setQtdMidiaLoc(int qtdMidiaLoc) {
        this.qtdMidiaLoc = qtdMidiaLoc;
    }

    /**
     * @return the valorMidiaLoc
     */
    public double getValorMidiaLoc() {
        return valorMidiaLoc;
    }

    /**
     * @param valorMidiaLoc the valorMidiaLoc to set
     */
    public void setValorMidiaLoc(double valorMidiaLoc) {
        this.valorMidiaLoc = valorMidiaLoc;
    }
    
    
}
